package com.hair.logy.core.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor

@TableName("hair_card")
public class HairCard {


    @TableId(value = "id",type = IdType.AUTO)
    private    Long  id;
    private    String  userName;
    private    String  iphoneNo;
    private    String  cardNo;
    private    String  jumpUrl;
    private    String  amount;
    private    int    cardStatus; // 初始化还未生成0 已申请1 已激活2
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" ,timezone = "GMT+8")
    private    Date   activateTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" ,timezone = "GMT+8")
    private    Date applyTime;



}
